package com.monas.client.util;

/**
 * Kelas untuk mempresentasikan node/server.
 * 
 * @author ekowahyudi
 * 
 */
public class Node {

	private String node = "";

	private String host = "";

	private String username = "";

	private String password = "";

	private String os = "";

	private String endLine = "";

	public boolean isComplete() {
		return node.length() > 0 && host.length() > 0 && username.length() > 0
				&& password.length() > 0 && os.length() > 0
				&& endLine.length() > 0;
	}

	public String getNode() {
		return node;
	}

	public void setNode(String node) {
		this.node = node;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getOs() {
		return os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public String getEndLine() {
		return endLine;
	}

	public void setEndLine(String endLine) {
		this.endLine = endLine;
	}

}
